﻿

namespace OestsCommon.Model
{
    public class Admin : User
    {

        /// <summary>
        /// 当前环境
        /// </summary>
		public TrainingEnvironment Environment { get; set; }

        /// <summary>
        /// 考核试卷ID
        /// </summary>
        public int ExamPaperId { get; set; }

        /// <summary>
        /// 考核项目ID
        /// </summary>
        public int ExamProjectId { get; set; }

        /// <summary>
        /// 添加管理员
        /// </summary>
        /// <param name="number"></param>
        /// <param name="pwd"></param>
        public Admin(string number, string pwd)
             : base(number, pwd)
        {
            Type = UserType.Admin;

        }

        public Admin()
        {
            Type = UserType.Admin;
        }
    }
}
